<?php

class DefaultInterceptor  extends C_Interceptor
{
	public function _begin()
	{
		$referer = $this->_request->getReferer();
		//$domain = $this->_request->getDomain();
		$host = $this->_request->getHost();
		$uri = $this->_request->getRequestUri();
		$url = urlencode("http://".$host.$uri);	
		$this->_response->url = $url;
		Zend_Registry::set("url",$url);	
	}
	public function _end()
	{
		
		
	}
}

?>